package cn.huihui.miniprogram.stuman.dto;

import lombok.Data;

/**
 * 考试成绩查询dto
 */
@Data
public class ScoreDto {
    int status;
    Float score;

    public void setScore(float score){
        this.score = score;
        if (score > 60){
            status = 1;
        } else {
            status = 0;
        }
    }
}
